<div class="top-size-lg has-footer">
    <div class="clearfix">
        <div class="btn btn-default btn-sm text-back" style="display: inline-block;" ui-sref="app.rates.list"><i
                class="glyphicon glyphicon-menu-left"></i>返回
        </div>
        <h4 class="pull-right" style="padding-top: 15px;">优惠券</h4>
        <div ng-repeat="data in redeem">
            <div class="col-xs-12 col-md-4 redeem-list">
                <div class="redeem-liststy height-125 clearfix">
                    <div class="redeem-listleft">
                        <h5 class="c-f90 font-16 font-bold">{{data.title}}</h5>
                        <div style="padding: 5px 0;">
                            <span>￥</span>
                            <strong style="font-size: 30px;">{{data.faceValue}}</strong>
                            <span>元，满{{data.threshold}}元可用</span>
                        </div>
                        <div class="font-12">{{data.detail}}</div>
                        <div class="font-12" ng-if="data.startDate != null || data.endDate != null">
                            有效日期：{{data.startDate | date:'yyyy.MM.dd'}} - {{data.endDate | date:'yyyy.MM.dd'}}
                        </div>
                        <div ng-if="data.receivedCount > 0" class="redeemicon redicon1"></div>
                    </div>
                    <div class="redeem-listright" ng-if="data.receivedCount < data.receivedMax"
                         ng-click="getCoupon(data.id,$index)">
                        <div class="redeemline"></div>
                        <span>立即领取</span>
                    </div>
                </div>
            </div>
        </div>
        <div class="navbar-fixed-bottom form-horizontal clearfix redeem-bottom">
            <div class="text-black mycoupon" ui-sref="app.me.coupon">我的优惠券 <span class="text-red">({{myCouponCount}})</span></div>
            <div class="line"></div>
            <div class="text-black member" ui-sref="app.me.deposit.select">会员充值</div>
        </div>
    </div>
</div>